Post Reference Number
Details
Update a cashier activity reference #.
URL : <base_url>/activity/reference_number/{actvity_id}
Method : POST
Authentication required : YES
Request parameters
In the request URL, provide the following parameter in the URL
Parameter | Type | Example | Description |
---|---|---|---|
reference_number | string | 1235673737 | Optional parameter. |
Success Response
Code : 200 OK
Content :
{
"success": true
}
Error Responses
Condition : Invalid loyalty config.
Code : 400 BAD REQUEST
Content :
{
"message": "The given data was invalid.",
"errors": {
"loyalty": "Loyalty service not active for this account."
}
}
Condition : Invalid loyalty subscription.
Code : 400 BAD REQUEST
Content :
{
"message": "The given data was invalid.",
"errors": {
"loyalty": "Invalid loyalty subscription."
}
}